/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.gac.stepmanager;

import java.util.Collections;
import java.util.LinkedList;

/**
 *
 * @author Tomek
 */
public class StepCategory {

    private LinkedList<StepTypeWrapper> _innerSteps = new LinkedList<StepTypeWrapper>();
    private String _name;


    public StepCategory( String name )
    {
        _name = name;
    }

    public void add( StepTypeWrapper wrapper )
    {
        _innerSteps.add(wrapper);
    }

    public Iterable<StepTypeWrapper> innerSteps()
    {
        return Collections.unmodifiableCollection(_innerSteps);
    }

    public String getName()
    {
        return _name;
    }
}
